package com.nvwa.mvp.logback.provider;

import com.nvwa.stater.logback.preparam.LogPreparamProvider;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

@Component
public class MyLogPreparamProvider implements LogPreparamProvider {
    @Override
    public Map<String, String> initPreparamMap() {
        Map<String, String> preParamMap = new HashMap<>();
        preParamMap.put("userId", "123456");
        preParamMap.put("groupId", "122");
        return preParamMap;
    }
}
